@charset "utf-8";

@import "reset";
@import "common";
.main{
    width: 100%;
    .container{
        h2{
            font-size: 30px;
            line-height: 110px;
            color: #ff6b08;
        }
        >div:first-of-type{
            
            margin-bottom: 80px;
            >div{
                
                >div{
                    position: relative;
                    img{
                        width: 100%;
                        height: 100%;
                    }
                    a{
                        display: block;
                        width: 100%;
                        position: absolute;
                        bottom: 0;
                        background-color: rgba(0,0,0,0.6);
                        height: 41px;
                        line-height: 41px;
                        color: white;
                        font-size: 14px;
                        text-align: center;
                        white-space: nowrap;
                        text-overflow: ellipsis;
                        overflow: hidden;
                        text-decoration: none;
                        &:hover{
                            color: greenyellow;
                        }
                    }
                }
                
            }
            
        }
        >ul{
            li{
                margin-bottom: 36px;
                >div:first-of-type{
                    margin-right: 20px;
                    padding: 4px;
                    border: 1px solid #dddddd;
                    border-radius: 4px;
                    img{
                        width: 100%;
                    }
                }
                >div:last-of-type{
                    >a:first-of-type{
                        font-size: 18px;
                        line-height: 30px;
                        display: block;
                        color: black;
                        text-decoration: none;
                        white-space:nowrap;
                        overflow: hidden;
                        text-overflow: ellipsis;
                        
                        &:hover{
                            color:#fe6900 ;
                        }
                    }
                    span{
                        display: inline-block;
                        font-size: 14px;
                        margin: 10px 0 20px;
                    }
                    p{
                        font-size: 14px;
                        line-height: 25px;
                    }
                    >a:last-child{
                        float: right;
                        width: 98px;
                        height: 32px;
                        color: #fe6900;
                        border: 1px solid #fe6900;
                        border-radius: 13px;
                        text-align: center;
                        line-height: 32px;
                        text-decoration: none;
                        &:hover{
                            background: #fe6900;
                            color: white;
                        }
                    }
                }
            }
        }
        >div:last-of-type{
            width: 100%;
            border-top: 1px dashed #d4d4d4;
            text-align: center;
            padding: 35px 0 25px;
            ul{
                border: 1px solid #d4d4d4;
                border-radius: 3px;
                display: inline-block;
                .active{
                        background: #e34637;
                        >a{
                            color: white;
                        }
                    }
                li{
                    float: left;
                    &:hover{
                            color: #23527c;
                            background-color: #eee;
                    }
                    .active{
                        background: #e34637;
                        >a{
                            color: white;
                        }
                    }
                    a{
                        display: inline-block;
                        height: 29px;
                        padding: 0 13px;
                        line-height: 30px;
                        border-right: 1px solid #d4d4d4;
                        text-align: center;
                        font-size: 12px;
                        color: black;
                        text-decoration: none;
                    }
                    &:last-of-type>a{
                        border: none;
                    }
                }
            }
        }
    }
}
@media (max-width:480px){
    .main>.container>div:last-of-type>ul>li>a{
        padding: 0 5px;
    }
}

@media (min-width:768px){
    .main>.container>div>div>div{
        height: 180px;
    }
}
@media (max-width:768px){
    .main>.container>div>div>div{
        margin-bottom: 30px;
    }
}
